You first need to get the rest of the ship's crew out of the way.
Create a distraction as described in the "How do I get to the forward torpedo launch?" question.
There are only two exits from the sub, and the one on top is guarded.
The other exit is through the forward (torpedo) launch.